package com.foreknow.demo14;

/**
 * @author shkstart
 * @create 2021-08-03 15:21
 *
 *
 * 动态可变参数  Object...values
 * Object[] values
 */
public class DyVarParameter {
    public void m1(int a,int b,Object...values){  //Object...vlaues=Object[] values;

    }

    public static void main(String[] args) {
        DyVarParameter dy=new DyVarParameter();
        dy.m1(1,2,"a1","a2");
    }
}
